package libra;

import java.util.Map;

import javax.servlet.http.HttpServletResponse;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.alibaba.csp.sentinel.annotation.SentinelResource;

@RestController
public class TestController {
	@RequestMapping("/nacos")
	public Object nacos() {
		return Map.of("code",0,"method","nacos");
	}
	
	@RequestMapping("/file")
	public Object file() {
		return Map.of("code",0,"method","file");
	}
}
